import { Columns, ColumnType } from "@ohos/dataorm"


export class TableBasic {
  @Columns({ columnName: "createdTime", types: ColumnType.num })
  createdTime: number;

  @Columns({ columnName: "updatedTime", types: ColumnType.num })
  updatedTime: number;

  constructor(createTime?: number) {
    this.createdTime = createTime;
  }

  getCreatedTime(): number {
    return this.createdTime;
  }

  setCreatedTime(createTime: number) {
    this.createdTime = createTime;
  }

  getUpdatedTime(): number {
    return this.updatedTime;
  }

  setUpdatedTime(updatedTime: number) {
    this.updatedTime = updatedTime;
  }
}